package br.usp.icmc.biomac.client;

import java.util.ArrayList;
import java.util.HashMap;

import br.usp.icmc.biomac.shared.CSVData;
import br.usp.icmc.biomac.shared.CSVSerie;
import br.usp.icmc.biomac.shared.ImageDicom;
import br.usp.icmc.biomac.shared.ROI;
import br.usp.icmc.dilvan.aimTemplateViewer.client.aim.ImageAnnotationAIM;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;


@RemoteServiceRelativePath("Web_padService")
public interface Web_padService extends RemoteService {
	
	ArrayList<CSVData> getCSVData(String Parameter, String Value) throws IllegalArgumentException;
	
	ArrayList<CSVSerie> getCSVSerie(String value) throws IllegalArgumentException;

	ArrayList<ImageDicom> getImages(String serie) throws IllegalArgumentException;

	boolean insertROI(int indexImage, ROI roi);
	
	boolean editROI(int indexImage, int indexROI, String label);
	
	boolean removeROI(int indexImage, int indexROI);
	
	HashMap<String, String> getAIMContainers();
	
	String saveAIM(ImageAnnotationAIM imageAnnotationAIM);
}
